using System;
using System.Collections.Generic;
using System.Text;
using LeisureCenter.Api;

namespace FModPlayer
{
    public class FModPlugin : IPlugin
    {
        #region IPlugin Membres

        public void Initialize(IInstance leisureCenterInstance)
        {
            leisureCenterInstance.PlayersManager.RegisterPlayer(FModPlayer.Name, new FModPlayer(leisureCenterInstance));
        }

        public void Finalize(IInstance leisureCenterInstance)
        {
            leisureCenterInstance.PlayersManager.UnRegisterPlayer(FModPlayer.Name);
        }

        #endregion
    }
}
